import request from '@/utils/request'

export function getServerTime (params) {
  return request({
    url: '/back/generalconfiguration/getServerTime',
    method: 'post',
    data: params
  })
}

export function updateServerTime (params) {
  return request({
    url: '/back/generalconfiguration/updateSystemTime',
    method: 'post',
    data: params
  })
}

export function getcommoncomfig (params) {
  return request({
    url: '/back/generalconfiguration/getById',
    method: 'post',
    data: params
  })
}

export function updatecommonconfig (params) {
  return request({
    url: '/back/generalconfiguration/saveOrUpdate',
    method: 'post',
    data: params
  })
}

export function getsysterm (params) {
  return request({
    url: '/web/system_configure',
    method: 'post',
    data: params
  })
}
